$(function() {
	// Main menu toggle
	var dropdowns = $('.navbar-main .dropdown'),
		win = $(window),
		body = $(document),
		caupmeta = $('.caup-meta');
	$('>a', dropdowns).mouseenter(function() {
		$(this).parent().addClass('open');
	});
	dropdowns.mouseleave(function() {
		$(this).removeClass('open');
	});

// alert(win.height());
// alert(win.height() + '----' + body.height());
	if (body.height() <= win.height()) {
		caupmeta.addClass('fixed');
		$(document.body).addClass('exbot');
	}
});